<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label for="c-goods" class="control-label col-xs-12 col-sm-2">{:__('Goods')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods" data-rule="required" class="form-control" name="row[goods]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-goods_price" class="control-label col-xs-12 col-sm-2">{:__('Goods_price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_price" data-rule="required" class="form-control" name="row[goods_price]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-title" class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" data-rule="required" class="form-control" name="row[title]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-content" class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-content" data-rule="required" class="form-control" name="row[content]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-num" class="control-label col-xs-12 col-sm-2">{:__('Num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-num" data-rule="required" class="form-control" name="row[num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label for="c-remain_num" class="control-label col-xs-12 col-sm-2">{:__('Remain_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remain_num" data-rule="required" class="form-control" name="row[remain_num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label for="c-fee" class="control-label col-xs-12 col-sm-2">{:__('Fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fee" data-rule="required" class="form-control" step="0.01" name="row[fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label for="c-re_buy_fee" class="control-label col-xs-12 col-sm-2">{:__('Re_buy_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-re_buy_fee" data-rule="required" class="form-control" step="0.01" name="row[re_buy_fee]" type="number">
        </div>
    </div>
    <!--<div class="form-group">-->
        <!--<label for="c-status" class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>-->
        <!--<div class="col-xs-12 col-sm-8">-->
            <!--<input id="c-status" data-rule="required" class="form-control" name="row[status]" type="number" value="1">-->
        <!--</div>-->
    <!--</div>-->
    <div class="form-group">
        <label for="c-create_time" class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-end_time" class="control-label col-xs-12 col-sm-2">{:__('End_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-end_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[end_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-boss_name" class="control-label col-xs-12 col-sm-2">{:__('Boss_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-boss_name" data-rule="required" class="form-control" name="row[boss_name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-boss_tel" class="control-label col-xs-12 col-sm-2">{:__('Boss_tel')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-boss_tel" data-rule="required" class="form-control" name="row[boss_tel]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-boss_addr" class="control-label col-xs-12 col-sm-2">{:__('Boss_addr')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-boss_addr" data-rule="required" class="form-control" name="row[boss_addr]" type="text">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
